Return to doc.sitecore.com

Valid for Sitecore 5.2, 5.1.1
  Integrating Read-Only Data Sources
Prev Next

Read-only integration is the simplest level of integration to implement.  This allows items in the external storage to be displayed in the Sitecore clients or a web site.  The items, however, cannot be changed via the Sitecore clients. 

When integrating at this level, the following methods are of particular interest:

Return Value

Method Name

Parameters

Description

ItemDefinition

GetItemDefinition

ID itemID
CallContext context
 

Returns an item descriptor for the item associated with the given item ID.

FieldList

GetItemFields

ItemDefinition item
VersionUri version
CallContext context
 

Returns the specified item’s fields filled with values from the data source.

IDList

GetChildIDs

ItemDefinition item
CallContext context
 

Returns the IDs of the given item’s children.

ID

GetParentID

ItemDefinition item
CallContext context
 

Returns the ID of the given item’s parent.

ID

GetRootID

CallContext context
 

Returns the ID of the data source’s root item.

TemplateCollection

GetTemplates

CallContext context

Returns the collection of templates which define the items available in this data source.


Prev Next